import request from '@/utils/request'

// 查询混凝土料仓列表
export function hntSiloManageList(query) {
  return request({
    url: '/zhgd/hntMaterialStore/hntMaterialStoreList',
    method: 'get',
    params: query
  })
}

// 查询混凝土料仓详情列表
export function hntDetailsList(id) {
  return request({
    url: '/zhgd/hntMaterialStore/' + id,
    method: 'get'
  })
}

// 新增混凝土料仓
export function addHntSiloManageList(data) {
  return request({
    url: '/zhgd/hntMaterialStore',
    method: 'post',
    data: data
  })
}

// 修改混凝土料仓
export function updateHntSiloManageList(data) {
  return request({
    url: '/zhgd/hntMaterialStore',
    method: 'put',
    data: data
  })
}

// 删除混凝土料仓
export function delHntSiloManageList(id) {
  return request({
    url: '/zhgd/hntMaterialStore/' + id,
    method: 'delete'
  })
}

// 查询混凝土料仓类型列表
export function hntSiloManageTypeList(query) {
  return request({
    url: '/zhgd/hntMaterialStore/materialStoreType',
    method: 'get',
    params: query
  })
}

// 查询下拉树结构
export function deptTreeSelect() {
  return request({
    url: '/zhgd/organizationStructureTree/treeList',
    method: 'get'
  })
}
















